package com.cxx.home.service;

import com.cxx.home.dto.plan.PlanDto;
import com.cxx.home.dto.plan.PlanStatsDto;
import com.cxx.home.vo.PlanQueryVo;

import java.util.List;

public interface PlanService {
    Boolean addPlan(PlanDto planDto);

    Boolean updatePlan(Long id, PlanDto planDto);

    Boolean deletePlan(Long id);

    List<PlanDto> queryPlan(PlanQueryVo query);

    Boolean setPlanStatus(Long id, Boolean status);

    PlanStatsDto queryPlanStats();
}
